<?php $this->placeholder('onReady')->captureStart() ?>
	$("#<?php echo $this->id_tablesorter?>").tablesorter(); 
<?php $this->placeholder('onReady')->captureEnd() ?>


<div class="contenedor_tablesorter">

<?php echo $this->InsertarFila($this->controllerName,$this->idZona)?>

<table id="<?= $this->id_tablesorter?>" width="100%" class="tablesorter"> 
    <caption>
       <div id="total_table_filter" style="float: right;">Total <span class="filtradas"><?=count($this->rows)?> Registros</span></div>    
    </caption>
<thead>
    <tr>
        <th>Nombre</th>
        <th>CIF</th>
        <th>Actividad</th>
        <th>Proyecto</th>
        <th>Nº Contrato</th>
        <th>Nº Pedido</th>
        <th>Potencia Contratada</th>
        <th>Fecha Alta</th>
        <th>Estado</th>
        <th></th>
    </tr>
</thead>
<tbody>
    <?php echo $this->partialLoop($this->controllerName.'/fila.phtml', (array)$this->rows); ?>	
</tbody>
</table>




</div>
